home *** CD-ROM | disk | FTP | other *** search
- undo_move(allPossibleMoves[index],side,capturedPiece);
- if(bestScore < moveScore)
- {
- bestScore = moveScore;
- bestMove = allPossibleMoves[index];
- }
- if(alpha < bestScore)
- {
- alpha = bestScore;
- }
- if(alpha >= beta)
- {
- gotoAndPlay(11);
- }
- index++;
- gotoAndPlay(_currentframe - 1);
-